Optimal. Leaf size=315 \[ \frac {(d x)^{1+m} \left (b^2-2 a c+b c x^3\right )}{3 a \left (b^2-4 a c\right ) d \left (a+b x^3+c x^6\right )}+\frac {c \left (b^2 (2-m)+b \sqrt {b^2-4 a c} (2-m)-4 a c (5-m)\right ) (d x)^{1+m} \, _2F_1\left (1,\frac {1+m}{3};\frac {4+m}{3};-\frac {2 c x^3}{b-\sqrt {b^2-4 a c}}\right )}{3 a \left (b^2-4 a c\right )^{3/2} \left (b-\sqrt {b^2-4 a c}\right ) d (1+m)}-\frac {c \left (b^2 (2-m)-b \sqrt {b^2-4 a c} (2-m)-4 a c (5-m)\right ) (d x)^{1+m} \, _2F_1\left (1,\frac {1+m}{3};\frac {4+m}{3};-\frac {2 c x^3}{b+\sqrt {b^2-4 a c}}\right )}{3 a \left (b^2-4 a c\right )^{3/2} \left (b+\sqrt {b^2-4 a c}\right ) d (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.48, antiderivative size = 315, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {1380, 1524,
371} \begin {gather*} \frac {c (d x)^{m+1} \left (b (2-m) \sqrt {b^2-4 a c}-4 a c (5-m)+b^2 (2-m)\right ) \, _2F_1\left (1,\frac {m+1}{3};\frac {m+4}{3};-\frac {2 c x^3}{b-\sqrt {b^2-4 a c}}\right )}{3 a d (m+1) \left (b^2-4 a c\right )^{3/2} \left (b-\sqrt {b^2-4 a c}\right )}-\frac {c (d x)^{m+1} \left (-b (2-m) \sqrt {b^2-4 a c}-4 a c (5-m)+b^2 (2-m)\right ) \, _2F_1\left (1,\frac {m+1}{3};\frac {m+4}{3};-\frac {2 c x^3}{b+\sqrt {b^2-4 a c}}\right )}{3 a d (m+1) \left (b^2-4 a c\right )^{3/2} \left (\sqrt {b^2-4 a c}+b\right )}+\frac {(d x)^{m+1} \left (-2 a c+b^2+b c x^3\right )}{3 a d \left (b^2-4 a c\right ) \left (a+b x^3+c x^6\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 1380
Rule 1524
Rubi steps
\begin {align*} \int \frac {(d x)^m}{\left (a+b x^3+c x^6\right )^2} \, dx &=\frac {(d x)^{1+m} \left (b^2-2 a c+b c x^3\right )}{3 a \left (b^2-4 a c\right ) d \left (a+b x^3+c x^6\right )}-\frac {\int \frac {(d x)^m \left (-b^2 (2-m)+2 a c (5-m)-b c (2-m) x^3\right )}{a+b x^3+c x^6} \, dx}{3 a \left (b^2-4 a c\right )}\\ &=\frac {(d x)^{1+m} \left (b^2-2 a c+b c x^3\right )}{3 a \left (b^2-4 a c\right ) d \left (a+b x^3+c x^6\right )}-\frac {\left (c \left (b^2 (2-m)-b \sqrt {b^2-4 a c} (2-m)-4 a c (5-m)\right )\right ) \int \frac {(d x)^m}{\frac {b}{2}+\frac {1}{2} \sqrt {b^2-4 a c}+c x^3} \, dx}{6 a \left (b^2-4 a c\right )^{3/2}}+\frac {\left (c \left (b^2 (2-m)+b \sqrt {b^2-4 a c} (2-m)-4 a c (5-m)\right )\right ) \int \frac {(d x)^m}{\frac {b}{2}-\frac {1}{2} \sqrt {b^2-4 a c}+c x^3} \, dx}{6 a \left (b^2-4 a c\right )^{3/2}}\\ &=\frac {(d x)^{1+m} \left (b^2-2 a c+b c x^3\right )}{3 a \left (b^2-4 a c\right ) d \left (a+b x^3+c x^6\right )}+\frac {c \left (b^2 (2-m)+b \sqrt {b^2-4 a c} (2-m)-4 a c (5-m)\right ) (d x)^{1+m} \, _2F_1\left (1,\frac {1+m}{3};\frac {4+m}{3};-\frac {2 c x^3}{b-\sqrt {b^2-4 a c}}\right )}{3 a \left (b^2-4 a c\right )^{3/2} \left (b-\sqrt {b^2-4 a c}\right ) d (1+m)}-\frac {c \left (b^2 (2-m)-b \sqrt {b^2-4 a c} (2-m)-4 a c (5-m)\right ) (d x)^{1+m} \, _2F_1\left (1,\frac {1+m}{3};\frac {4+m}{3};-\frac {2 c x^3}{b+\sqrt {b^2-4 a c}}\right )}{3 a \left (b^2-4 a c\right )^{3/2} \left (b+\sqrt {b^2-4 a c}\right ) d (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 5 in
optimal.
time = 0.15, size = 78, normalized size = 0.25 \begin {gather*} \frac {x (d x)^m F_1\left (\frac {1+m}{3};2,2;\frac {4+m}{3};-\frac {2 c x^3}{b+\sqrt {b^2-4 a c}},\frac {2 c x^3}{-b+\sqrt {b^2-4 a c}}\right )}{a^2 (1+m)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\left (d x \right )^{m}}{\left (c \,x^{6}+b \,x^{3}+a \right )^{2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (d\,x\right )}^m}{{\left (c\,x^6+b\,x^3+a\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________